<?php 


echo "Name of file is ".__FILE__ ;
echo "\n\n";

echo "Name of DIR is ".__DIR__ ;
echo "\n\n";

echo "This code is on line number :".__LINE__ ;
echo "\n\n";

function testAbcd()
{ 
	return "I am in ".__FUNCTION__ ;
}

class A {
	function testXyz()
	{ 
		return "I am in ".__METHOD__ ;
	}
}

echo testAbcd();
echo "\n\n";
$obj = new A;
echo $obj->testXyz();
echo "\n\n";
